SDEF
// -----------------------------------------------------------------------------
//  $Logfile:: /Quake 2 Engine/Sin/Base Sin Data/Models/Animals/batlow.def    $
// $Revision:: 3                                                              $
//   $Author:: Wieder                                                         $
//     $Date:: 10/27/98 2:08a                                                 $
//
// Copyright (C) 1998 by Ritual Entertainment, Inc.
// All rights reserved.
//
// This source may not be distributed and/or modified without
// expressly written permission by Ritual Entertainment, Inc.
//
// This is a model definition file.  It is to be used in conjunction with Sin.
//
// -----------------------------------------------------------------------------
// MODEL DESCRIPTION:
// Bat creature, low-poly one for Thrall Pit.
//
// MODEL AUTHOR:
// Beau
//
/*SINED Animals_BatLow (1 .5 0) (0 0 0) (0 0 0) NOT_SOLID NOT_DAMAGABLE
Bat Low-Poly
*/

// -----------------------------------------------------------------------------
// FILE DECLARATIONS
//
// Model Commands
path models/batlow
scale 0.08

// Base Model
batlow_base.sbm

// Skins
normal	   batlow_base.tga

// Normal Animations
idle           batlow_fly.sam
pain           batlow_fly.sam
death          batlow_fly.sam
melee          batlow_fly.sam
fly            batlow_fly.sam
death		   batlow_death.sam

// Id And Group Definitions
id 10 group wings twosided

// -----------------------------------------------------------------------------
// INITIALIZATION SECTION
//
!init:
//
// SERVER Initialization Commands
//
// Class Setup
server classname Bat
server script global/bat_nice.scr
server setsize "-16 -16 -18" "16 16 18"
server health 15
server meleerange 70
server meleedamage 7
server forwardspeed 130
server noshadow
server usebbox

//
// CLIENT Initialization Commands
//
// Sound Aliases
client aliascache snd_idle       "monsters/bat/batidle1.wav" 1
client aliascache snd_pain       "monsters/bat/batpain2.wav" 1
client aliascache snd_death      "monsters/bat/batdeth1.wav" 1
client aliascache snd_fly        "monsters/bat/batfly3.wav" 1
client aliascache snd_attack     "monsters/bat/batattk.wav" 1


// -----------------------------------------------------------------------------
// MAIN SECTION
//
!main:
//client fly first randomsound snd_fly 1 4
server fly first randomambientsound snd_fly
//server fly first movementsound

client pain first randomsound snd_pain 1 2
server pain first painsound

client death first randomsound snd_death 1 2
server death first stopambientsound
server death first deathsound

client melee first randomsound snd_attack
server melee 1 melee

// -----------------------------------------------------------------------------
// SOURCESAFE Update Log
//
// $Log:: /Quake 2 Engine/Sin/Base Sin Data/Models/Animals/batlow.def         $
// 
// 3     10/27/98 2:08a Wieder
// 
// 2     10/27/98 1:33a Joeske
// Added in all of the good stuff to make this baby operational.
//
// -----------------------------------------------------------------------------

